package com.cdpm.system.service.impl;

import com.cdpm.system.domain.StrategyBuryingPoint;
import com.cdpm.system.domain.StrategyInstanceNode;
import com.cdpm.system.mapper.StrategyBuryingPointMapper;
import com.cdpm.system.mapper.StrategyInstanceNodeMapper;
import com.cdpm.system.service.IStrategyBuryingPointService;
import com.cdpm.system.service.IStrategyInstanceNodeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description:
 * @author: longjy
 * @create: 2024-08-29 16:52
 **/
@Service
public class StrategyBuryingPointServiceImpl implements IStrategyBuryingPointService {

    @Resource
    StrategyBuryingPointMapper strategyBuryingPointMapper;
    @Override
    public List<StrategyBuryingPoint> findList(StrategyBuryingPoint strategyBuryingPoint) {
        List<StrategyBuryingPoint> list = strategyBuryingPointMapper.findList(strategyBuryingPoint);
        return list;
    }

    @Override
    public int insert(StrategyBuryingPoint strategyBuryingPoint) {
        return strategyBuryingPointMapper.insert(strategyBuryingPoint);
    }

    @Override
    public int update(StrategyBuryingPoint strategyBuryingPoint) {
        return strategyBuryingPointMapper.updateById(strategyBuryingPoint);
    }


}
